
function List(props){
    
    const handel=(data)=>{
       props.email(data)
    }
    return (
        <>
        <ul>
            <li onClick={()=>handel('children')}>1djdjjjdjdjjdjj</li>
            <li>2</li>
            <li>3</li>
        </ul>
        </>
    )
}



export default List